/**
 * @Author: 田乐
 * @Date: 2019-10-24 10:00:00
 * @Last Modified by:   焦质晔
 * @Last Modified time: 2019-10-26 11:00:00
 **/
import OssUploadExtends from './OssBtn.vue';
const components = [
  OssUploadExtends
]
const install = function(vue) {
  if (install.installed) return
  components.map((component) => {
    vue.component(component.name, component) // component.name 此处使用到组件vue文件中的 name 属性
  })
}
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue)
}
export default {
  install,
  OssUploadExtends
}
